<template>
  <div class="footerBuy">
    <van-goods-action>
      <van-goods-action-icon icon="chat-o" text="客服" @click="onClickIcon" />
      <van-goods-action-icon icon="shop-o" text="店铺" @click="onClickIcon" />
      <van-goods-action-button type="warning" text="加入购物车" @click="onClickButton" />
      <van-goods-action-button type="danger" text="立即购买" @click="onClickButton" />
    </van-goods-action>
  </div>
</template>

<script>
// import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant'
export default {
  name: 'FooterBuy',
  props: ['goSpec'],
  components: {

  },
  data () {
    return {

    }
  },
  watch: {

  },
  mounted () {

  },
  methods: {
    onClickIcon () {
    },
    onClickButton () {
      // Toast('点击按钮');
      this.goSpec(true)
    }
  }
}

</script>
<style scoped lang='scss'>
</style>
